package cn.wellsun.util.SortCombain;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
/**
 * @author zchome
 */
public class Test {
	public static void main(String args[]) {
		List<Integer> nums = new ArrayList<Integer>();
		nums.add(0);
		nums.add(1);
		nums.add(2);
		nums.add(3);
		Permutations permutations = new Permutations(nums);
		Combinations combinations = new Combinations(nums, 3);
		//		for (Object o : permutations) {
		//			System.out.println(o);
		//			String[] s = o.toString().split(",");
		//						for (String a : s) {
		//							System.out.println(a);
		//						}
		//		}
		for (int i = 0; i < 10; i++) {
			int a = new Random().nextInt(4);
			System.out.println(a);
		}
	}
}
